Conditions | 2 |
Paths | 2 |
Total Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | /** |
||
7 | $(document).ready(function() { |
||
8 | |||
9 | // Init collapsibles |
||
10 | var collapsible = $('.frame').symphonyCollapsible({ |
||
11 | items: '> li', |
||
12 | handles: '.frame-header', |
||
13 | content: '.content', |
||
14 | save_state: true, |
||
15 | storage: 'symphony.collapsible.error' |
||
16 | }); |
||
17 | |||
18 | // Hide backtrace and query log by default |
||
19 | if(!('symphony.collapsible.error.0.collapsed' in window.localStorage)) { |
||
20 | collapsible.trigger('collapse.collapsible', [0]); |
||
21 | } |
||
22 | }); |
||
23 | |||
25 |
This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.